/*
 * @Author: jiangyg email@jiangyg.com
 * @Date: 2022-10-31 19:54:34
 * @LastEditors: jiangyg email@jiangyg.com
 * @LastEditTime: 2022-11-06 21:11:49
 * @FilePath: /frontend/mall-frontend/src/mock/order.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Mock from "mockjs";
import { MockMethod } from 'vite-plugin-mock';

export default [

    // 购物车列表
    {
        url: '/order/info',
        method: 'post',
        response: () => {
            return Mock.mock({
                "code": "200",
                "msg": "请求成功！",
                "body": {
                    "skuList|1-5": [{
                        "title|1": [
                            "润米生物医用外科口罩3D立体不花妆莫兰迪色独立包装时尚加宽耳带【拿铁灰/50片盒】",
                            "Dr.Chu初医生口罩医用外科口罩3d立体独立包装一次性成人夏季薄款加宽耳带时尚马卡龙彩色",
                            "丝麦耘新疆奇台面粉特一粉5kg中筋多用途包子馒头拉条子通用小麦粉10斤绿色食品",
                            "比瑞吉狗粮优选泰迪贵宾全价成犬粮2.2kg【配方升级】添加冻肉干胡萝卜海藻",
                            "比瑞吉狗粮成犬2.2kg自然均衡小型犬全价成犬粮泰迪狗粮贵宾狗粮",
                            "LifeSpace成人益生菌胶囊320亿活菌成人广谱肠胃益生菌60粒澳洲进口",
                            "汤臣倍健男士多种复合维生素矿物质礼盒120片成人男士保健品含叶酸维生素b族维生素c维生素e维生素d钙铁锌",
                            "汤臣倍健女士成人多种复合维生素矿物质片维生素c维生素e维生素片钙铁叶酸b族多维礼盒（60片*2瓶）",
                            "猫人【迪丽热巴代言】羊绒裤男加厚轻奢高档东北保暖裤中老年羊毛裤秋冬季打底裤毛裤防寒内衣秋裤深灰色-山羊绒裤中厚-3XL(推荐160-180斤）",
                            "日本进口利尻昆布染发膏染发剂200g深棕色植物无刺激遮白发焗油护头皮不伤发",
                            "罗技（Logitech）POPMOUSE无线鼠标蓝牙鼠标办公鼠标-烟云灰",
                            "酷乐锋OPPOFindX3/Pro/摄影师版钢化膜全胶一加9pro手机膜1+Oneplus九保护贴膜曲面屏幕全玻璃指纹可解锁",
                            "【纯羊绒】哥弟真的好女装2022秋冬新款圆领针织打底纯羊绒衫女毛衣A300341浅蓝L(4码)",
                            "哥弟真的好女装2022秋冬新款烟管领纯羊毛针织打底衫女毛衣A300653黑L(4码)",
                            "普丽普莱Puritan'sPride三倍氨糖软骨素180片钙片高含量MSM盐酸氨基葡萄糖维骨力中老年美国进口",
                            "普丽普莱Puritan'sPride辅酶素Q10软胶囊100mg*240粒维生素e备孕护心脏营养品美国进口",
                            "BOP波普专研益生菌条装漱口水一次性袋装便携口气清新男女口腔清洁5口味混合装20条/盒",
                            "洁柔抽纸(C&S)Lotion保湿因子柔润3层30抽面巾纸*10包无香（高端婴儿纸干湿两用敏感肌适用乳霜纸）",
                            "京东京造保湿纸面巾100抽*12+40抽*2婴儿柔纸巾乳霜纸抽纸无香高端两用敏感肌肤含玻尿酸保湿因子",
                            "力博得电动牙刷4周美白认证低噪高频智能声波牙刷情侣款星空礼盒星芒Pro暮晨紫",
                            "【超市精选】法国进口小瓶红酒13度晚安小酒原酒进口葡萄酒187ml慕狮王子巴隆迷你小支红酒整箱6小瓶装",
                            "Swisse斯维诗野生鱼油软胶囊Omega-31000mg400粒/瓶中老年鱼油守护心脑海外进口",
                            "米家小米扫地机器人扫拖一体扫洗拖一体机擦地机拖地机器人智能扫地拖地UV+电解水杀菌热风烘干免洗Pro",
                            "FILA斐乐女鞋猫爪鞋3代老爹鞋休闲运动鞋缓震厚底慢跑鞋FLUIDⅢ奶白-GD38",
                            "全棉时代婴儿湿巾手口专用新生儿湿纸巾100%纯棉可入口宝宝屁屁湿巾纸小包便携装20片*1包"
                        ],
                        "props|1-6": [
                            "【拿铁灰50片/盒】独立包装",
                            "杏粉色3D医用外科【30枚独立装】",
                            "优选泰迪贵宾成犬≥12月2.2kg",
                            "自然均衡迪贵宾成犬1岁以上2.2kg",
                            "【王子异同款】成人320亿益生菌",
                            "【专为国人定制】男士多维礼盒",
                            "【16种营养】女士多维礼盒120片",
                            " 深灰色-山羊绒裤",
                            "中厚-3XL(推荐160-180斤）",
                            "利尻昆布染发剂深棕色200g",
                            "【POP Mouse】蓝牙鼠标 烟云灰",
                            "FindX3/Pro/摄像师⭐全胶钻石膜",
                            "浅蓝",
                            "L(4码)",
                            "黑",
                            "L(4码)",
                            "【中老年】三倍氨糖软骨素",
                            "【养护血管】100mg辅酶Q10*240粒",
                            "【便携条装】混合果味20条",
                            "30抽*10包(乳霜纸)",
                            "【玻尿酸保湿纸】100抽*12+80抽",
                            "星芒Pro丨美白认证丨暮晨紫",
                            "整箱6小瓶装",
                            "无腥野生鱼油胶囊1000mg",
                            "【旗舰新品】扫拖洗烘机器人Pro",
                            "奶白-GD",
                            "38",
                            "【便携装】婴儿棉湿巾20片*1包"
                        ],
                        "price|1-999.2-4": 12312.23,
                        "amount|1-999999.2-4": 111.12,
                        "nums|1-999": 1,
                        "defaultImage|1": [
                            "https://img14.360buyimg.com/n0/s80x80_jfs/t1/129081/34/30439/66170/635b635bE9c9fce53/dde7528748371ac4.jpg.dpg",
                            "https://img10.360buyimg.com/n0/s80x80_jfs/t1/58134/33/16896/69022/635fcfe7E6d382cce/305bb05f4e958575.jpg.dpg",
                            "https://img10.360buyimg.com/n0/s80x80_jfs/t1/42426/19/21471/105075/63629c81E536f997b/7912458a767fcf67.jpg.dpg",
                            "https://img12.360buyimg.com/n0/s80x80_jfs/t1/119704/13/30568/98485/635fd690Ee3831966/5fe70abdbd5dad48.jpg.dpg",
                            "https://img30.360buyimg.com/n0/s80x80_jfs/t1/66992/39/22974/85921/635d0f55E4c324896/d26bfe3c618d7edb.jpg.dpg",
                            "https://img10.360buyimg.com/n0/s80x80_jfs/t1/105612/3/34148/167005/635fee37E1b5fb3d5/f9cf0ab9690a92a6.jpg.dpg",
                            "https://img30.360buyimg.com/n0/s80x80_jfs/t1/206334/29/25935/136671/63613c66E5e72177c/11aadb4b3fde73c2.jpg.dpg",
                            "https://img30.360buyimg.com/n0/s80x80_jfs/t1/222445/6/21529/128534/63620ee4Ee3b3a8f3/60ba42e2cafdf4a4.jpg.dpg",
                            "https://img14.360buyimg.com/n0/s80x80_jfs/t1/116774/5/23200/126843/61a6ed3aE4f7f6e48/0f2dcd51f1829da2.jpg.dpg",
                            "https://img30.360buyimg.com/n0/s80x80_jfs/t1/215166/18/22714/94275/635ff0efE0a96a409/75d530802882c48f.jpg.dpg",
                            "https://img10.360buyimg.com/n0/s80x80_jfs/t1/125778/7/29735/19495/63034d3fE7f19808e/560ce921e29d7ecc.jpg.dpg",
                            "https://img13.360buyimg.com/n0/s80x80_jfs/t1/156014/33/21976/106955/617693f5E99e9ca99/f2c1dee3c8d2c6b2.jpg.dpg",
                            "https://img20.360buyimg.com/n0/s80x80_jfs/t1/138519/39/3676/112491/5f1a464cEcd059d9e/3383c6ed09d20d0d.jpg.dpg",
                            "https://img12.360buyimg.com/n0/s80x80_jfs/t1/173486/14/29119/78039/63047946E328168fa/6a2c0ae9f628327a.jpg.dpg",
                            "https://img13.360buyimg.com/n0/s80x80_jfs/t1/171691/34/28762/158522/63624f9cE55221d43/66dc9496ef3cb74f.jpg.dpg",
                            "https://img30.360buyimg.com/n0/s80x80_jfs/t1/170682/18/31517/142938/63624f40E4931bf63/182e0c5a3de670c3.jpg.dpg",
                            "https://img13.360buyimg.com/n0/s80x80_jfs/t1/88152/33/31502/75833/63427b05Eb49c3acd/c326e2bf18236640.jpg.dpg",
                            "https://img13.360buyimg.com/n0/s80x80_jfs/t1/194389/20/393/443217/608a3641Eb28f4a98/64ed6b43be59d88a.jpg.dpg",
                            "https://img13.360buyimg.com/n0/s80x80_jfs/t1/90392/29/31545/72950/635f98bfE43e699ce/a80d1198400a0649.jpg.dpg",
                            "https://img20.360buyimg.com/n0/s80x80_jfs/t1/48326/8/18629/123147/63620bbdE6e19e695/527f59de593c4b7d.jpg.dpg",
                            "https://img10.360buyimg.com/n0/s80x80_jfs/t1/98644/29/29107/284482/628ca45cEe0d39b3b/c2a9d17b8835d8dc.jpg.dpg",
                            "https://img14.360buyimg.com/n0/s80x80_jfs/t1/91946/14/28191/137568/636248c8Ea87f2061/553007c65f8fdcba.jpg.dpg",
                            "https://img14.360buyimg.com/n0/s80x80_jfs/t1/38807/10/20414/79806/636125b9E163ff6d6/6e07952527a10f40.jpg.dpg",
                            "https://img14.360buyimg.com/n0/s80x80_jfs/t1/190870/19/29102/110065/63608f99E42163f38/afc7e403d0bafc09.jpg.dpg",
                            "https://img20.360buyimg.com/n0/s80x80_jfs/t1/147522/30/31853/27944/6358ad24E846f00c2/4afbab2cf24698c2.jpg.dpg"
                        ]
                    }]
                }
            });
        }
    },

    // 优惠卷列表
    {
        url: '/coupon/info',
        method: 'post',
        response: () => {
            return Mock.mock({
                "code": "200",
                "msg": "请求成功！",
                "body|1-10": [
                    {
                        "price|1-100": 1,
                        "limit|1": [
                            "每满100元可减",
                            "每满200元可减",
                            "每满500元可减"
                        ],
                        "expiration|1": [
                            "有效期至2022-11-04",
                            "有效期至2022-11-06",
                            "有效期至2022-11-07"
                        ],
                        "type": [
                            "东券",
                            "限品类",
                            "可叠加",
                        ],
                        "info|1": [
                            "所结算商品中没有符合条件的商品"
                        ],
                        "status|1": [
                            "0",
                            "1",
                            "3"
                        ]
                    }
                ]
            });
        }
    }


] as MockMethod[];